<!--
<?php
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/health/css/style.css" />
<script type="text/javascript">
$(document).ready(function(){
	$('#nav_hover1').addClass('navhover');
});
</script>
<!--
EOT;
$query = $db->query("SELECT A.* FROM h_article_content_100 A, h_article B where A.aid=B.aid AND B.fid=44 AND B.yz=1");
$i=0;
while($rs = $db->fetch_array($query)){
	$arr = strtok($rs['photourl'], "@@@");
	if($i>0) {
		$p_url .= "|".$webdb[www_url]."/upload_files/".$arr;
		$p_a .="|".$rs['url'];
	} else {
		$p_url .= $webdb[www_url]."/upload_files/".$arr;
		$p_a .=$rs['url'];
	}
	$i++;
}
print <<<EOT
-->
	<SCRIPT  src="$webdb[www_url]/images/health/js/swfobject_source.js" type=text/javascript></SCRIPT>
    <div class="banner width auto" id=flashFCI>
    	<SCRIPT type=text/javascript>
		 var s1 = new SWFObject("$webdb[www_url]/images/health/focusFlash_fp.swf", "mymovie1", "1000", "328", "4", "#ffffff");
		 s1.addParam("wmode", "transparent");
		 s1.addParam("AllowscriptAccess", "sameDomain");
		 s1.addVariable("bigSrc", "$p_url");
		 s1.addVariable("smallSrc", "|$webdb[www_url]/images/health/images/01.jpg|||");
		 s1.addVariable("href", "$p_a");
		 s1.addVariable("txt", "||||");
		 s1.addVariable("width", "1000");
		 s1.addVariable("height", "328");
		 s1.write("flashFCI");
		 
	   </SCRIPT>
    </div>
    <div class="bannerbot width auto"></div>
	<!--banner结束-->
	
	<div class="main width auto">
    	<div class="maintop width auto"></div>
        <div class="maincon width auto">
            <div class="mainleft"></div>
            <div class="mainleft maincen">
            	<div class="mainconleft">
                	<div class="mainconleft1tit"></div>
                    <div class="mainconleft1con">
                    	<b>指导单位：</b><br />
						国家工业和信息化部中小企业司<br />
						<b>推进单位：</b><br />
						中国烹饪协会<br />
                        国家工业和信息化部中小企业对外合作<br />
                        协调中心<br />
                        <b>技术服务单位	：</b><br />
						<a href="http://www.chanjet.com" target="_blank">畅捷通信息技术股份有限公司</a><br />
                    </div>
                    <div class="mainconleft2 auto"><img src="$webdb[www_url]/images/health/images/phone.jpg" /></div>
                    <div class="mainconleft3 auto">
                    	<a href="list.php?fid=14"><div class="mainconleft3tit"></div></a>
                        <div class="mainconleft3con auto">
                        	<div class="mainconleft3box">
                            	<div class="mainconleft3boxleft"></div>
                                <div class="mainconleft3boxleft mainconleft3boxcen">
<!--
EOT;
$query = $db->query("SELECT * FROM h_article_content_110 limit 1");
$rs = $db->fetch_array($query);
print <<<EOT
-->
                                	<div class="video">
                                		<embed src="$rs[flash_address]" allowFullScreen="true" quality="high" width="192" height="144" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
                                	</div>
                                </div>
                                <div class="mainconleft3boxleft mainconleft3boxright"></div>
                            </div>
                        </div>
                    </div>	
                </div>
<!--
EOT;
$query = $db->query("SELECT * FROM h_article_content_100 where fid=45 ");
$i=0;
while($rs = $db->fetch_array($query)){
	$arr = strtok($rs['photourl'], "@@@");
	if($i>0) {
		$p_url2 .= "|".$webdb[www_url]."/upload_files/".$arr;
		$p_b .="|".$rs['url'];
	} else {
		$p_url2 .= $webdb[www_url]."/upload_files/".$arr;
		$p_b .=$rs['url'];
	}
	$i++;
}
print <<<EOT
-->
                <div class="mainrightbox">
                    <div class="mainconleft mainconcen">
                        <div class="mainconcen1tit"><a href="$webdb[www_url]/list.php?fid=43">更多>></a></div>
                        <div class="mainconcen1con auto">
                            <div class="dttop auto">
                                <div class="dttopleft">
                                    <div class="dttopleftcon" id="flashFCI1">
                                        <SCRIPT type=text/javascript>
                                         var s1 = new SWFObject("$webdb[www_url]/images/health/focusFlash_fp.swf", "mymovie1", "177", "132", "4", "#ffffff");
                                         s1.addParam("wmode", "transparent");
                                         s1.addParam("AllowscriptAccess", "sameDomain");
                                         s1.addVariable("bigSrc", "$p_url2");
                                         s1.addVariable("smallSrc", "|$webdb[www_url]/images/health/images/01.jpg|||");
                                         s1.addVariable("href", "$p_b");
                                         s1.addVariable("txt", "||||");
                                         s1.addVariable("width", "177");
                                         s1.addVariable("height", "132");
                                         s1.write("flashFCI1");
                                       </SCRIPT>
                                    </div>
                                    <div class="dttopleftright"></div>
                                    <div class="dttopleftbot"></div>
                                </div>
                                <div class="dttopright">
                                    <ul>
<!--
EOT;
$query = $db->query("SELECT * FROM h_article where mid=108 and fid=43 order by list desc limit 12");
$i=0;
$news1;$news2;
while($rs = $db->fetch_array($query)){
	if($i<6) {
		$rs[title] = get_word($rs[title], 24);
		$news1 .= "<li><a href='$webdb[www_url]/bencandy.php?fid=43&id=$rs[aid]' target='_blank'>$rs[title]</a><span>".date("Y/m/d", $rs['list'])."</span></li>"; 
	} elseif ($i < 12) {
		$rs[title] = get_word($rs[title], 20);
		$news2 .= "<li><a href='$webdb[www_url]/bencandy.php?fid=43&id=$rs[aid]' target='_blank'>$rs[title]</a><span>".date("Y/m/d", $rs['list'])."</span></li>";
	}
	$i++;
}
print <<<EOT
-->
                                        {$news1}
                                    </ul>
                                </div>
                            </div>
                            
                            <div class="dtbot auto">
                                <ul>{$news2}</ul>
                            </div>
                        </div>
                        
                        
                        <div class="mainconcen1tit mainconcen2tit"><a href="$webdb[www_url]/do/service.php">更多>></a></div>
                        <div class="mainconcen2con auto">
                            <div class="mainconcen2conbox">
<!--
EOT;
$query = $db->query("SELECT A.title, B.content, A.ispic, A.picurl FROM h_article A, h_reply B where A.aid=B.aid AND A.fid=41 AND A.levels=1 order by A.list desc limit 1");
while($rs = $db->fetch_array($query)){
$rs[content] = get_word($rs[content], 100);
$img;
if($rs[ispic] == 1) {
	$img = "<a href=\"$webdb[www_url]/do/service.php\"><img src='$webdb[www_url]/upload_files/$rs[picurl]' /></a>";
}
print <<<EOT
-->
                            	<div class="mainconcen2img">{$img}</div>
                                <div class="mainconcen2text">

                                	<b><a href="$webdb[www_url]/do/service.php">{$rs[title]}</a></b><br />
									{$rs[content]}
<!--
EOT;
}
print <<<EOT
-->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="a_right auto">
						<img src="$webdb[www_url]/images/health/images/38.jpg" /><img src="$webdb[www_url]/images/health/images/26.jpg" />
						
						<div class="yy">
							<a href="$webdb[www_url]/do/test.php"><img src="$webdb[www_url]/images/health/images/jianka1.jpg"/></a>
							<img src="$webdb[www_url]/images/health/images/hjt.jpg" width="190" height="23" />
							<a href="$webdb[www_url]/do/test.php"><img src="$webdb[www_url]/images/health/images/zhibiao1.jpg"/></a>
							<img src="$webdb[www_url]/images/health/images/hjt.jpg" width="190" height="23" />
							<a href="$webdb[www_url]/do/test.php"><img src="$webdb[www_url]/images/health/images/chujian1.jpg"/></a>
							<img src="$webdb[www_url]/images/health/images/hjt.jpg" width="190" height="23" />
							<a href="$webdb[www_url]/do/test.php"><img src="$webdb[www_url]/images/health/images/gaijin1.jpg"/></a>
							<img src="$webdb[www_url]/images/health/images/hjt.jpg" width="190" height="23" />
							<a href="$webdb[www_url]/do/test.php"><img src="$webdb[www_url]/images/health/images/tijian1.jpg"/></a>
							<img src="$webdb[www_url]/images/health/images/mainconrightbot.jpg" width="190" height="23" />
						</div>
					</div>                    
                    <div class="mainad auto">
                    	<form action="$webdb[www_url]/do/test.php" method="post">
                    	<input type="hidden" name="step" value="20"/>
                    	<input type="image" src="$webdb[www_url]/images/health/images/mainad.jpg" />
                    	</form>
                    </div>
                </div>
            </div>
            <div class="mainleft mainright"></div>
        </div>
    </div>
	
<!--
EOT;
?>
-->